package cn.fenqing168.springcloud.service.feign.impl;

import cn.fenqing168.springcloud.service.feign.PaymentHystrixFiegnService;
import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixFiegnServiceImpl implements PaymentHystrixFiegnService {
    @Override
    public String paymentInfoOk(Long id) {
        //这里则是fallback执行的代码
        return "paymentInfoOk----fallback";
    }

    @Override
    public String paymentInfoTimeout(Long id) {
        //这里则是fallback执行的代码
        return "paymentInfoTimeout----fallback";
    }


}
